.dux-index-banner {
  background: #f5f5f5;
  .uk-slideshow {
    position: relative;

  }
  .uk-slideshow-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
  }
}

.dux-index-hot {

  li {
    .body {
      background: #fff;
      padding: 0;
    }
    .info {
      padding-right: 10px;
      padding-top: 10px;
      margin-left: 150px;
      .title {
        font-size: 1.6rem;
        color: #000;
        line-height: 22px;
        max-height: 45px;
        text-overflow: ellipsis;
        overflow: hidden;
      }
      .subtitle {
        color: #999;
        font-size: 1.2rem;
        line-height: 22px;
        text-overflow: ellipsis;
        overflow: hidden;
        height: 45px;
      }
      .price {
        color: $color-main;
        font-size: 1.6rem;
        font-weight: bold;
      }

    }
    .img {
      float: left;
      img {
        width: 140px;
        height: 140px;
      }

    }
  }
  .uk-slidenav {
    background: rgba(0, 0, 0, .2);
    display: block;
    text-align: center;
    border-radius: 50%;
    padding: 10px;
    color: #fff;
    vertical-align: middle;
    svg {
      width: 14px;
      height: 14px;
    }
  }

}

.dux-index-top {
  height: 400px;
  .top-left {
    height: 400px;
    margin-right: 5px;
  }
  .top-right {
    height: 195px;

  }
  .top-bottom {
    padding-top: 10px;
    height: 195px;

  }

  .item {
    padding: 0 5px;
    .uk-cover-container {
      height: 195px;

    }

  }

  .uk-overlay {
    padding: 10px;
    font-size: 1.2rem;
  }

  h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
  }
  .price {
    color: $color-main;

  }

}

.dux-index-class {
  margin-top: 2rem;
  .class-info {
    .info-title {
      margin-right: 5px;
      background-image: url("https://shop.io.mi-img.com/static/h5/static3/media/bg.84cf2820.png");
      > div {
        width: 100%;
        height: 370px;
      }
      h2 {
        font-size: 3rem;
        color: #fff;
      }
      a {
        color: #fff;
      }
      .more {
        font-size: 1.6rem;
        padding: 20px 0;
        text-align: center;
      }
    }
    .info-banner {
      margin-left: 5px;
      height: 370px;
    }
  }

  .pro-list {
    margin-top: 10px;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    ul {
    }
    li {
      border-right: 1px solid #e8e8e8;
      border-top: 1px solid #e8e8e8;
      position: relative;
      text-align: center;
      padding: 10px;
      height: 272px;
      a {
        display: block;
      }
    }
    img {
      width: 150px;
      height: 150px;
    }
    .img {
      margin-top: 20px;
    }
    .title {
      font-size: 1.6rem;
      color: #333;
      font-weight: 600;
      padding-top: 10px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;

    }
    .subtitle {
      font-size: 1.2rem;
      color: #999;
      line-height: 18px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;

    }
    .price {
      margin-top: 10px;
      color: $color-main;
      small {
        color: #999;
        text-decoration: line-through;
      }

    }
  }

  &:nth-child(4n+1){
    .info-title {
      background-color: rgb(174, 214, 223);
    }
  }
  &:nth-child(4n+2){
    .info-title {
      background-color: rgb(223, 156, 166);
    }
  }
  &:nth-child(4n+3){
    .info-title {
      background-color: rgb(168, 223, 176);
    }
  }
  &:nth-child(4n+4){
    .info-title {
      background-color: rgb(218, 223, 171);
    }
  }

}